package com.nulldev.util.web.flexibleKit.flexRenderer.styling;

import com.nulldev.util.graphics.renderIt.renderer.global.rColor;
import com.nulldev.util.graphics.renderIt.renderer.global.rColors;
import com.nulldev.util.web.flexibleKit.jfvParse.Node;

public class StyledNode {

	private final Node node;
	private rColor color = rColors.black;
	private rColor backgroundColor = rColors.white;
	private String fontFamily = "default";

	public StyledNode(final Node node) {
		this.node = node;
	}

	public rColor color() {
		return this.color;
	}

	public rColor backgroundColor() {
		return this.backgroundColor;
	}

	public String fontFamily() {
		return this.fontFamily;
	}

	@Override
	public int hashCode() {
		return this.node.hashCode();
	}

	public Node node() {
		return this.node;
	}

}
